Release 10.1A: OpenEdge Development:
.NET Open Clients
Connection object
Progress provides a connection object,
Progress.Open4GL.Proxy.Connection. This connection object provides a means to store AppServer connection information, which can be passed to the AppObject constructor when connecting to the AppServer.The connection object has the following constructor methods.
The following constructor specifies the AppServer connection information (
url), user ID, password, and information required by the AppServer application at connection time:
Note: For an HTTPS connection using the AppServer Internet Adapter (AIA) with the Web server running on the .NET Open Client machine, you must specify the Internet host name (not
"localhost") in the URL exactly as it appears in the CN field of the Web server certificate.For more information on the AppServer URL connection parameter format and default connection information, see the sections on connecting to an AppServer using a URL in OpenEdge Application Server: Developing AppServer Applications .
The following constructor specifies the user ID, password, and information required by the AppServer application at connection time:
The constructor above uses default AppServer connection information. This defaults the URL to
AppServer://localhost:5162/appService, whereappServiceis the AppService setting specified on the General tab of the Generate dialog box in ProxyGen.Before you establish a connection, you can set properties for the
Connectionobject. See Chapter 5, "Accessing Proxy Properties," for more information on setting and updatingConnectionobject properties.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |